$OpenBSD: patch-node_sbin_munin-node,v 1.4 2013/06/03 19:45:32 kirby Exp $
--- node/sbin/munin-node.orig	Fri May 10 22:59:50 2013
+++ node/sbin/munin-node	Sun May 26 22:02:43 2013
@@ -53,6 +53,9 @@ sub main
         $ENV{$key} =~ /^(.*)$/;
         $ENV{$key} = $1;
     }
+    # plugins run in taint mode because the uid is changed, so the path
+    # must not contain writable directories.
+    $ENV{PATH}='/bin:/sbin:/usr/bin:/usr/sbin:${PREFIX}/bin:${PREFIX}/sbin';
 
     parse_args();
 
